﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucBP.ascx.cs" Inherits="VSM.UC.ucBP" %>
<script type="text/javascript">
    function OpenBP(cardType) {
        var url = "../../../BPPopup.aspx?CardType=" + cardType;
        Main.openCustomDialog(url, 600, 610, "Business Partner");
    }
</script>
<table width="100%" style="font-weight: bold">
    <tr>
        <td style="border-bottom: dotted 1px #808080; vertical-align: bottom;width:80px;">
            <asp:Label ID="lblCustomerInfo" runat="server" Text="Customer:"></asp:Label>
        </td>
        <td  style="white-space: nowrap;" valign="middle">
            <asp:TextBox ID="txtCustomerCode" runat="server" AutoPostBack="true"
                Style="width: 100px;" ontextchanged="txtCustomerCode_TextChanged"></asp:TextBox>
            <asp:TextBox ID="txtCustomerName" runat="server" Style="width: 400px;" ReadOnly="True"></asp:TextBox>
             <asp:TextBox ID="txtCurrency" runat="server"  Enabled="false"
                Style="width: 100px;"></asp:TextBox>
            <asp:Button ID="btnSelectBP" runat="server" 
                Text="..." Style="background-image: url('/Images/bgButton.png'); background-repeat: no-repeat;
                font-weight: bold" Width="30px" onclick="btnSelectBP_Click" />

            <asp:Label ID="lblCustomerRequired" runat="server" ForeColor="Red" Text="*"></asp:Label>
        </td>
    </tr>
</table>
